package com.woniuxy.anno;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @author dingpf
 * @version 1.0
 * @description
 * @create 2024/8/26 11:08
 * 权限注解，用在controller接口上
 * 用元注解修饰
 */
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface PreAuthorize {
    String[] value();
}
